//
//  PageSetting.m
//  SocialEngine
//
//  Created by Nguyen Ba Tan on 5/27/13.
//  Copyright (c) 2013 Home. All rights reserved.
//

#import "PageSetting.h"

@implementation PageSetting

@synthesize iPage, iItemPerPage;

- (id) init {
    self = [super init];
    return self;
}

- (void) initpageValue {
    iPage = 1;
    
    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
        //device is an iPad.
        iItemPerPage = 30;
    }
    else {
        iItemPerPage = 15;
    }
     
}

@end
